package net.hn.hnms.biz.meeting.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("会议室预约")
public class MeetingInfoReq  extends BaseReq {

    @ApiModelProperty(value = "id")
    private String  meetingId;


    @ApiModelProperty(value = "会议主题")
    private String meetingName;


    @ApiModelProperty(value = "会议日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    private Date meetingDate;


    @ApiModelProperty(value = "发起人")
    private String meetingSponsor;

    @ApiModelProperty(value = "备注")
    private String remarks;

//    @JsonFormat(
//            pattern = "yyyy-MM-dd HH:mm:ss",
//            timezone = "Asia/Shanghai"
//    )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("会议开始时间")
    private Date startTime;

//    @JsonFormat(
//            pattern = "yyyy-MM-dd HH:mm:ss",
//            timezone = "Asia/Shanghai"
//    )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("会议结束时间")
    private Date endTime;

    @ApiModelProperty(value = "会议室ID")
    private String meetingRoomId;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    private String filePath;


    @ApiModelProperty(value = "参会人名称")
    private String personName;

    @ApiModelProperty(value = "参会人Id用户Id")
    private String personId;

    @ApiModelProperty(value = "文件Id")
    private String ossId;


    @ApiModelProperty(value = "用户Id")
    private List<Long> userIds;

    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;


    @ApiModelProperty(value = "公司编码")
    private String companyCode;
}
